@echo off
chcp 65001 > nul          # 控制台 UTF-8
set LANG=en_US.UTF-8       # 系统语言环境
set LC_CTYPE=en_US.UTF-8   # 字符分类规则
set WORK_DIR=E:\work_files\projects\cold_rolling_original
set LOG_FILE=%WORK_DIR%\sync.log

echo [%date% %time%] 开始同步 >> "%LOG_FILE%"

E:
cd /d "%WORK_DIR%"

"D:\miniforge3\python.exe" "%WORK_DIR%\svn_sync_single.py" >> "%LOG_FILE%" 2>&1

echo [%date% %time%] 同步完成 >> "%LOG_FILE%"
exit 0